package com.example.mybatisplus.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.jws.soap.SOAPBinding;

/**
 * <p>
 * ��ѯ��Ϣ��
 * </p>
 *
 * @author lxp
 * @since 2023-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ConsultInfo对象", description="��ѯ��Ϣ��")
public class ConsultInfo extends Model<ConsultInfo> {

    private static final long serialVersionUID = 1L;

            @ApiModelProperty(value = "��ѯ���")
    @TableId(value = "consult_id", type = IdType.AUTO)
    private Long consultId;

            @ApiModelProperty(value = "���ñ��")
    private Long visitId;

    private Integer auditStatus;

            @ApiModelProperty(value = "ѧ�����")
    private Long stuId;

            @ApiModelProperty(value = "ѧ��")
    private String stuNum;

            @ApiModelProperty(value = "��ѯʱ��")
    private String consultTime;
    private String consultDate;

            @ApiModelProperty(value = "��ѯ��ʦ")
    private String consultAdminId;

            @ApiModelProperty(value = "��ѯ����")
    private String consultRoom;

            @ApiModelProperty(value = "��ѯ״̬")
    private Integer consultStatus;

            @ApiModelProperty(value = "��ѯ���Σ��״̬")
    private Integer consultResultCrisisStatus;

    private String consultConclusion;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    @TableField(exist=false)
    private VisitInfo visitInfo;

    @TableField(exist=false)
    private UserInfo userInfo;

    @TableField(exist=false)
    private AdminInfo adminInfo;


    @Override
    protected Serializable pkVal() {
        return this.consultId;
    }

}
